PaymentPlugins\Braintree\WooFunnels\Upsell\Payments\Gateways\BasePaymentGateway S

Total Complexity 33
Dependencies 8
Dependents 0
Total lines 213
Lines of code 137
Logical lines of code 78
Comment lines 40
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
process_refund_offer()
A
50 8 27
get_transaction_args_from_order()
S
47 5 34
process_charge()
S
55 3 18
create_client_token()
S
60 3 13
handle_client_error()
S
69 3 6
get_instance()
S
69 2 7
create_payment_method_nonce()
S
66 2 8
__construct()
S
77 1 4
has_token()
S
75 1 4
is_vaulted_threed_secure_enabled()
S
82 1 3
create_transaction()
S
91 1 2
get_transaction_link()
S
76 1 4
should_store_in_vault()
S
82 1 3
save_order_meta_data()
S
75 1 4